<div id="messagearea" class="clearing">
	<?php if (strlen($flashmessage)):?><p class="notification"><?=$flashmessage;?></p><?php endif;?>
	<?php if (strlen($flasherror)):?><p class="notification-error"><?=$flasherror;?></p><?php endif;?>
	<?=$this->validation->error_string;?>
</div>

<?=form_open('cerberus/resetpassword/'.$resetbee, array('class' => 'loginform'));?>

<fieldset id="loginform">
	<legend>Reset Your Password</legend>
	<p>Enter the new password you want to use for access.</p>
	<dl class="clearfix">
		<dt><label for="newpassword" title="Enter your new password" class="required">New Password</label></dt>
		<dd><input type="password" id="newpassword" name="newpassword" value="" class="{required: true, minLength: 6, maxLength: 16}" /></dd>
		<dt><label for="confirmpassword" title="Confirm your password" class="required">Confirm Password</label></dt>
		<dd><input type="password" id="confirmpassword" name="confirmpassword" value="" class="{required:true, minLength: 6, maxLength: 16, equalTo: '#newpassword'}" /></dd>
		<dt>&nbsp;</dt><dd><input type="submit" name="submit" value="Set New Password" class="button" /></dd>
	</dl>
</fieldset>
<input type="hidden" name="target" value="cerberus/login" />
<?=form_close();?>